Piwik\Plugins\LanguagesManager\API A

Total Complexity 53
Dependencies 8
Dependents 15
Total lines 295
Lines of code 198
Logical lines of code 135
Comment lines 79
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
getAvailableLanguagesInfo()
A
39 13 59
getTranslationsForLanguage()
S
53 7 22
getAvailableLanguages()
S
52 5 24
loadAvailableLanguages()
S
52 5 23
getPluginTranslationsForLanguage()
S
55 5 18
enableDevelopmentLanguageInDevEnvironment()
S
65 5 9
isLanguageAvailable()
S
77 3 3
getLanguageForUser()
S
67 2 8
setLanguageForUser()
S
66 2 9
uses12HourClockForUser()
S
67 2 8
set12HourClockForUser()
S
67 2 8
getAvailableLanguageNames()
S
76 1 4
getModel()
S
78 1 3